home *** CD-ROM | disk | FTP | other *** search
/ CD/PC Actual 76 / DVD Actual 1 Marzo 2003.iso / Trial / TurboCAD 7.1 Pro / Data.Cab / F24364_QueryDialog.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  2000-11-10  |  1.1 KB  |  51 lines

  1. // QueryDialog.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "ltsample.h"
  6. #include "QueryDialog.h"
  7. #include "QueryHelpDlg.h"
  8.  
  9. #ifdef _DEBUG
  10. #define new DEBUG_NEW
  11. #undef THIS_FILE
  12. static char THIS_FILE[] = __FILE__;
  13. #endif
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CQueryDialog dialog
  17.  
  18.  
  19. CQueryDialog::CQueryDialog(CWnd* pParent /*=NULL*/)
  20.     : CDialog(CQueryDialog::IDD, pParent)
  21. {
  22.     //{{AFX_DATA_INIT(CQueryDialog)
  23.     m_cstrQueryString = _T("");
  24.     //}}AFX_DATA_INIT
  25. }
  26.  
  27.  
  28. void CQueryDialog::DoDataExchange(CDataExchange* pDX)
  29. {
  30.     CDialog::DoDataExchange(pDX);
  31.     //{{AFX_DATA_MAP(CQueryDialog)
  32.     DDX_Text(pDX, IDC_EDIT_QUERYSTRING, m_cstrQueryString);
  33.     //}}AFX_DATA_MAP
  34. }
  35.  
  36.  
  37. BEGIN_MESSAGE_MAP(CQueryDialog, CDialog)
  38.     //{{AFX_MSG_MAP(CQueryDialog)
  39.     ON_BN_CLICKED(IDC_HELPQUERY, OnHelpquery)
  40.     //}}AFX_MSG_MAP
  41. END_MESSAGE_MAP()
  42.  
  43. /////////////////////////////////////////////////////////////////////////////
  44. // CQueryDialog message handlers
  45.  
  46. void CQueryDialog::OnHelpquery() 
  47. {
  48.     CQueryHelpDlg dlgHlp(this);
  49.     dlgHlp.DoModal();
  50. }
  51.